package com.javainterface.mapper;

import com.javainterface.entity.NodeIdEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PermissionMapper {
    //查询所有nodeId
    public List<NodeIdEntity> queryNodeId();

    //删除home_user表里所有userid的数据
    public void deleteHomeuserByUserId(@Param("userId") String userId);

    //查询数据道home_user
    public void insertHomeuser(@Param("userId") String userId,
                               @Param("number") String number,
                               @Param("number1") String number1,
                               @Param("menuId") String menuId);
}
